{include file="$usertemplate/header.tpl.html" title=header} 
    <div class="content">
        <div class="leftCont">
            <div class="boxpro">
                <div class="tt-boxpro">
                    <ul>
                        <li class="tt-left"><p>Thông tin thanh toán</p></li>
                    </ul>
                </div><!--tt-boxpro-->
                <div class="cc-boxpro">
                            <div class="formType2">

                                    <form action="" method="post" name="formOrder" id="formOrder">
                                    <fieldset>
                                    <h2>{$messages.cInformation}</h2>
                                    <p class="text"><strong>{$messages.noteorder}</strong></p>
                                    <p>
                                    <label for="name">{$messages.fullname}:</label>
                                    <span>(*)</span><input type="text" id="name" name="name" value="{if $order.name}{if $order.name}{$order.name}{/if}{else}{if $authUser}{$authUser->getFullName()}{/if}{/if}" />
                                    {if $listerror[0]}
                                        <p class="error">{$listerror[0]}</p>
                                    {/if}
                                    </p>
                                    <p>
                                    <label for="email">{$messages.email}:</label>
                                   <span>(*)</span><input type="text" id="email" name="email" value="{if $order.name}{if $order.email}{$order.email}{/if}{else}{if $authUser}{$authUser->getEmail()}{/if}{/if}" />
                                    {if $listerror[1]}
                                        <p class="error">{$listerror[1]}</p>
                                    {/if}
                                    </p>
                                    <p>
                                    <label for="address">{$messages.address}:</label>
                                    <input type="text" id="address" name="address" value="{if $order.name}{if $order.address}{$order.address}{/if}{else}{if $authUser}{$authUser->getAddress()}{/if}{/if}"/>
                                    </p>        
                                    <p>
                                    <label for="tel">{$messages.tel}:</label>
                                    <input type="text" id="tel" name="tel" value="{if $order.name}{if $order.tel}{$order.tel}{/if}{else}{if $authUser}{$authUser->getTel()}{/if}{/if}" />
                                    </p>
                                    <p>
                                    <label for="cell">{$messages.cel}:</label>
                                    <span>(*)</span><input type="text" id="cell" name="cell" value="{if $order.name}{if $order.cell}{$order.cell}{/if}{else}{if $authUser}{$authUser->getTel()}{/if}{/if}" />
                                    {if $listerror[3]}
                                        <p class="error">{$listerror[3]}</p>

                                    {/if}
                                    </p>
                                    <h2>{$messages.rInformation}</h2>
                                    <p class="text"><strong>{$messages.noteorder}</strong></p>
                                    <p>
                                    <label for="same">&nbsp;</label>
                                    {literal}
                                    <script type="text/javascript">
                                    function checkSame() {
                                        var f = document.formOrder;
                                        if(f.chkSame.checked) {
                                            f.rname.value = f.name.value;
                                            f.raddress.value = f.address.value;
                                            f.rtel.value = f.tel.value;
                                            f.rcell.value = f.cell.value;
                                            f.rprovince.value = f.province.value;
                                        } else {
                                            f.rname.value = '';
                                            f.raddress.value = '';
                                            f.rtel.value = '';
                                            f.rcell.value = '';
                                            f.rprovince.value = '';		
                                        }
                                    }
                                    </script>
                                    {/literal}
                                    <input class="checkbox" type="checkbox" id="chkSame" name="chkSame" value="1" onclick="javascript:checkSame();" />{$messages.likecustomer}
                                    </p>
                                    <p>
                                    <label for="rname">{$messages.fullname}:</label>
                                    <span>(*)</span><input type="text" id="rname" name="rname" value="{$order.rname}" />
                                    {if $listerror[4]}
                                        <p class="error">{$listerror[4]}</p>
                                    {/if}
                                    </p>

                                    <p>
                                    <label for="raddress">{$messages.address}:</label>
                                    <span>(*)</span><input type="text" id="raddress" name="raddress" value="{$order.raddress}"  />
                                    {if $listerror[5]}
                                        <p class="error">{$listerror[5]}</p>
                                    {/if}
                                    </p>
                                    <p>
                                    <label for="rtel">{$messages.tel}:</label>
                                    <input type="text" id="rtel" name="rtel" value="{$order.rtel}" />
                                    </p>
                                    <p>
                                    <label for="rcell">{$messages.cel}:</label>
                                    <input type="text" id="rcell" name="rcell" value="{$order.rcell}" />
                                    </p>
                                    <!--<p>
                                    <label for="rnote"><span>*</span>{$messages.delivery}</label>
                                    <select id="delivery" name="delivery">
                                    <option selected="selected" value="{$messages.delivery1}">{$messages.delivery1}</option>
                                    <option selected="selected" value="{$messages.delivery2}">{$messages.delivery2}</option>
                                    </select>
                                    </p>-->
                                    <p class="date" >				
                                    <label for="day">{$messages.rdate}:</label>
                                   <select class="box" id="day" name="day" style="width:100px">
                                    {$listDays}
                                    </select>
                                    <select class="box2" id="month" name="month" style="width:100px">
                                    {$listmonth}
                                    </select>
                                    <select class="box3" id="year" name="year" style="width:100px">
                                    {$listyear}
                                    </select> <span>(*)</span>
                                    {if $listerror[6]}
                                        <p class="error">{$listerror[6]}</p>
                                    {/if}
                                    </p>
                                    <p class="btn"> <span class="btnType2">
                                    <input type="submit" id="btnLogin" name="btnLogin" title="{$messages.continueorder}" value="{$messages.continueorder}" />
                                    </span> <span class="btnType2">
                                    <input type="reset" id="reset" name="reset" title="{$messages.reset}" value="{$messages.reset}" />
                                    <input type="hidden" name="op" value="order" />
                                    <input type="hidden" name="plus" value="confirmOrder" />
                                    <input type="hidden" name="lang"  value="{$lang}" />
                                    </span> </p>
                                    </fieldset>
                                    </form>
                                    </div>
                </div>
            </div>
        </div><!--leftCont-->
        <!--rightCont-->
     {include file="$usertemplate/right.tpl.html" title=right}  
    </div><!--content-->
{include file="$usertemplate/footer.tpl.html" title=footer} 